package com.iyang.bootadmin.pojo;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: Mu_YI
 * @Date: 2019/3/9 16:10
 * @Version 1.0
 */
public class Menu implements Serializable {

    private Long id;
    private String menuId;
    private String url;
    private String sys;
    private String parentId;
    private String isParent;
    private String menuName;
    private Integer menuOrder;
    private List<Menu> children;

    public Menu() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getSys() {
        return sys;
    }

    public void setSys(String sys) {
        this.sys = sys;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getIsParent() {
        return isParent;
    }

    public void setIsParent(String isParent) {
        this.isParent = isParent;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public Integer getMenuOrder() {
        return menuOrder;
    }

    public void setMenuOrder(Integer menuOrder) {
        this.menuOrder = menuOrder;
    }

    public List<Menu> getChildren() {
        return children;
    }

    public void setChildren(List<Menu> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return "Menu{" +
                "id=" + id +
                ", menuId='" + menuId + '\'' +
                ", url='" + url + '\'' +
                ", sys='" + sys + '\'' +
                ", parentId='" + parentId + '\'' +
                ", isParent='" + isParent + '\'' +
                ", menuName='" + menuName + '\'' +
                ", menuOrder=" + menuOrder +
                ", children=" + children +
                '}';
    }
}
